Are you sure that you have access to all documents? It would be strange if you have THAT many replication conflict documents. Your script seems nice, at a short overview. Are you sure there are no reader fields etc, which controls that you don't see all documents?
Regards,
Rune Carlsen
Founder Dominozone
http://www.dominozone.net